From: Ævar Arnfjörð Bjarmason Date: Sat, 29 Oct 2005 03:01:44 +0000 (+0000) Subject: * Logic error: $row->namespace not NS_USER X-Git-Tag: 1.6.0~1278 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=fc5b521e19b795cedd2dc4964b1b97272112b90e;p=lhc%2Fweb%2Fwiklou.git * Logic error: $row->namespace not NS_USER --- diff --git a/includes/SpecialMostlinkedcategories.php b/includes/SpecialMostlinkedcategories.php index d01e5c5504..84cac96fc6 100644 --- a/includes/SpecialMostlinkedcategories.php +++ b/includes/SpecialMostlinkedcategories.php @@ -49,7 +49,7 @@ class MostlinkedCategoriesPage extends QueryPage { $batch = new LinkBatch; while ( $row = $db->fetchObject( $res ) ) - $batch->addObj( Title::makeTitleSafe( NS_USER, $row->title ) ); + $batch->addObj( Title::makeTitleSafe( $row->namespace, $row->title ) ); $batch->execute( $wgLinkCache ); // Back to start for display diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php index bccd6e41a4..5c51083dad 100644 --- a/includes/SpecialWantedpages.php +++ b/includes/SpecialWantedpages.php @@ -57,7 +57,7 @@ class WantedPagesPage extends QueryPage { $batch = new LinkBatch; while ( $row = $db->fetchObject( $res ) ) - $batch->addObj( Title::makeTitleSafe( NS_USER, $row->title ) ); + $batch->addObj( Title::makeTitleSafe( $row->namespace, $row->title ) ); $batch->execute( $wgLinkCache ); // Back to start for display